﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="NewsDetail.aspx.cs" Inherits="News_NewsDetail" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="row-fluid">
        <div class="span12">
            <div class="box" style="border:1px solid #B6D1F2;" >
                <div class="box-title">
                    <h3><i class="icon-file"></i>Tin tức - thông báo</h3>
                </div>
                <div class="box-content">
                    <address>
                        <strong><%=news.TieuDe.Trim() %></strong><br/>
                        Đơn vị gửi : <%=news.tblAcount.tblCoSoDoan.TenDonVi.Trim() %><br />
                        Người gửi : <%=news.tblAcount.TenHienThi.Trim() %><br />
                        Ngày gửi : <%=string.Format("{0:dd/MM/yyyy}",news.NgayDang) %>
                    </address>
                    <div class="well">
                        <%=news.NoiDung %>
                    </div>
                        <span class="green">Các tin liên quan:</span>
                        <ul class="iconic">
                            <%foreach(var item in toplist){ %>
                            <li>
                                <a href="<%=PageURL.local+"News/NewsDetail.aspx?id="+_ps.Encrypt("2", "gold", 128) + "&subid=" + _ps.Encrypt("3", "gold", 128)+"&newsid="+_ps.Encrypt(item.ID.ToString(),"gold",128) %>">
                                    <i class="icon-file-text-alt text-info">
                                        <%=item.TieuDe.Trim() %>
                                    </i>
                                </a>
                            </li>
                            <%} %>
                        </ul>
                </div>
            </div>
        </div>
    </div>
</asp:Content>

